//
//  PaperOptionView.h
//  ZYOnlineSchool 选项View
//
//  Created by 毕武侠 on 2017/3/7.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PaperAnswerOptionModel.h"
@class PaperAnswerModel;
@class PaperOptionView;

@protocol PaperOptionDelegate <NSObject>

- (void)PaperOptionView:(PaperOptionView *)optionView atIndex:(NSUInteger)index;


- (void)sendQA_content:(NSString *)content;

@end

@interface PaperOptionView : UIView

@property (nonatomic, strong) NSMutableArray *optionDatas;//选项内容
@property (nonatomic, weak) id<PaperOptionDelegate> delegate;
@property (nonatomic, assign) NSInteger optionType;     //0:单选，1:多选，2:材料单选 3:材料多选

@property (nonatomic,strong)PaperAnswerModel *answerModel;

- (void)setOptionType:(PaperOptionType)type atIndex:(NSUInteger)index;


- (void)setQA_content:(NSString *)content;

@end
